import { Module } from '@nestjs/common';
import { LogService } from './log.service';
import { LogController } from './log.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { LogSurveyEntity } from './log-survey.entity';
import { LogArticleEntity } from './log-article.entity';

@Module({
  imports: [TypeOrmModule.forFeature([LogArticleEntity, LogSurveyEntity])], // Add your entities here if needed
  controllers: [LogController],
  providers: [LogService],
  exports: [LogService, TypeOrmModule], // Export LogService if it needs to be used in other modules
})
export class LogModule {}
